home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / programr / vbasic / metalib / readme.txt < prev   
Text File  |  1992-03-04  |  3KB  |  62 lines

  1. The METALiB 1.0 library  is a set of Visual Basic routines 
  2. that will allow you to create, draw, and save Microsoft SDK 
  3. metafiles in Visual Basic.  
  4.  
  5. A metafile is unlike the more familiar bitmap because, 
  6. instead of storing each pixel of an image, only the drawing 
  7. commands themselves are stored.  As a result, for simple 
  8. images  such as graphs, charts, line drawings, etc. the 
  9. resultant memory and disk storage requirements are much 
  10. smaller than for bitmaps.  But that is not the best part!  
  11. Since a metafile is made up of only the drawing commands, 
  12. the images are easily resizable and transportable.  This is 
  13. best shown with the demo program accompanying this library 
  14. called METADEMO.EXE.  It draws a simple line drawing of a 
  15. jet.  Try resizing the window it is drawn in and the jet 
  16. will instantly  re size to fit the new window size.  Note 
  17. that as the size of the jet doubles, the lines and text all 
  18. stay the same width.  In other words, it assumes the 
  19. resolution of the target drawing surface.  This target 
  20. surface can even be a printer by simply substituting 
  21. Printer.hDC for the picture box hDC property.  Try this with 
  22. a bitmap.  When a bitmap is resized it retains its original 
  23. resolution.  If its size is doubled you end up with lines 
  24. that are twice as wide and that exhibit the familiar "stair 
  25. stepping" that we are used to seeing on low resolution 
  26. devices.
  27.  
  28. Metafiles have their weaknesses, though.  Highly detailed 
  29. images, such as portraits and artistic renderings are much 
  30. more suitable to bitmaps.  Such images are difficult to 
  31. break down into individual drawing commands more powerful 
  32. than then the simplest PSet method.  At this point it makes 
  33. more sense to store and process each pixel then it would 
  34. processing a quarter of a million PSet commands as would be 
  35. required for a 512 x 512 pixel by pixel image.
  36.  
  37. METALib is a collection of visual basic routines that are 
  38. designed to replace many of the standard VB methods that are 
  39. normally used for drawing bitmaps.  METALiB is still 
  40. incomplete, but growing.  We but the basic functionality 
  41. together and are distributing it in hopes that others can 
  42. improve on our original design.  We would appreciate it if 
  43. anyone making improvements would pass the changes back to us 
  44. at Sygenex, Inc.  
  45.  
  46. METALib 1.0 was designed and developed by Jon Upham at 
  47. Sygenex, Inc.
  48.  
  49. Jon can be reached at:
  50.         Sygenex, Inc.
  51.         15446 Bel-Red Road Suite 450
  52.         Redmond, WA  98052
  53.         206-881-5500
  54.         Compuserve: 70742,1226
  55.  
  56. Sygenex Inc. is not claiming that the METALib file has been 
  57. adquately tested and makes no warranties or claims of any 
  58. kind.  METALib is free to use and distribute in anyway you 
  59. wish.  Use at your own risk.
  60.  
  61. Copyright ⌐ 1992 Sygenex, Inc.
  62.